package com.ruoyi.gather.api;

import com.ruoyi.common.core.constant.ServiceNameConstants;
import com.ruoyi.common.core.domain.R;
import com.ruoyi.gather.api.domain.dto.AeAutoProductDto;
import com.ruoyi.gather.api.domain.dto.AutoQueryInfoDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(contextId = "remotePublishProductService", value = ServiceNameConstants.GATHER_SERVICE)
public interface RemotePublishProductService {

    @PostMapping("/gather/autoQueryInfo/queryStoreProductNumberNew/")
    R<Object>  queryStoreProductNumberNew(@RequestBody AutoQueryInfoDto dto);

    @PostMapping("/gather/AeProduct/publishAeProduct/")
    R<Object>  publishAeProduct(@RequestBody AeAutoProductDto dto);

    @PostMapping("/gather/autoQueryInfo/queryAutoStoreProductListNew/")
    R<Object>  queryAutoStoreProductListNew(@RequestBody AutoQueryInfoDto dto);

    @PostMapping("/gather/autoQueryInfo/queryAutoStoreProductListByUnshelf/")
    R<Object> queryAutoStoreProductListByUnshelf(@RequestBody AutoQueryInfoDto dto);

    @PostMapping("/gather/AeProduct/reissueMessageQueue/")
    R<Object> reissueMessageQueue(@RequestBody AeAutoProductDto dto);
}
